  function noise1() {
      var noise1 = echarts.init(document.getElementById('noise1'));
      var option1 = {
          grid: {
              left: 50,
              top: 30,
              right: 10,
              bottom: 60
          },
          legend: {
              data: [{
                      name: 'PM2.5',
                      textStyle: {
                          color: '#333'
                      }
                  },
                  {
                      name: 'PM10',
                      // 设置文本为红色
                      textStyle: {
                          color: '#333'
                      }
                  }

              ],
              left: 10
          },
          tooltip: {
              show: true
          },
          dataZoom: {
              show: true,
              height: 10,
              bottom: 25,
              start: 0,
              end: 90 //初始化滚动条
          },
          xAxis: {
              type: 'category',
              boundaryGap: false,
              data: [00, 01, 02, 03, 04, 05, 06, 07, 08],
              axisLabel: {
                  show: true,
                  textStyle: {
                      color: "#333"
                  }
              },
              axisTick: {
                  show: false
              }
          },
          yAxis: {
              type: 'value',
              axisLabel: {
                  show: true,
                  textStyle: {
                      color: "#333"
                  }
              },
              axisTick: {
                  show: false
              },
              splitLine: {
                  show: false
              }
          },
          series: [{
                  name: 'PM2.5',
                  type: 'line',
                  symbol: "circle",
                  data: [43.2, 41.1, 40.2, 40, 42.1, 43.6, 46.7, 45.9, 49.2],
                  areaStyle: {
                      normal: {}
                  },
                  color: '#90D2FC',
                  markPoint: {
                      symbolSize: 30,
                      label: {
                          fontSize: 10
                      },
                      data: [{
                          type: 'max',
                          name: '最大值'
                      }]
                  }
              },
              {
                  name: 'PM10',
                  type: 'line',
                  symbol: "circle",
                  data: [98.2, 95.4, 98.4, 97.4, 102.4, 110.6, 119.6, 118.9, 132.6],
                  areaStyle: {
                      normal: {}
                  },
                  color: '#FD7E50',
                  markPoint: {
                      symbolSize: 30,
                      label: {
                          fontSize: 10
                      },
                      data: [{
                          type: 'max',
                          name: '最大值'
                      }]
                  }
              }
          ]
      }
      noise1.setOption(option1, true);
      window.addEventListener("resize", function () {
          noise1.resize();
      });

  }


  //24小时噪音统计
  function noise2() {
      var noise2 = echarts.init(document.getElementById('noise2'));
      var option2 = {
          grid: {
              left: 30,
              top: 30,
              right: 10,
              bottom: 60
          },
          legend: {
              data: [{
                  name: '噪音',
                  textStyle: {
                      color: '#333'
                  }
              }],
              left: 10
          },
          tooltip: {
              show: true
          },
          dataZoom: {
              show: true,
              height: 10,
              bottom: 30,
              start: 0,
              end: 90 //初始化滚动条
          },
          xAxis: {
              type: 'category',
              boundaryGap: false,
              data: [00, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
              axisLabel: {
                  show: true,
                  textStyle: {
                      color: "#333"
                  }
              },
              axisTick: {
                  show: false
              }
          },
          yAxis: {
              type: 'value',
              axisLabel: {
                  show: true,
                  textStyle: {
                      color: "#333"
                  }
              },
              axisTick: {
                  show: false
              },
              splitLine: {
                  show: false
              }
          },
          series: [{
              name: '噪音',
              type: 'line',
              symbol: "circle",
              data: [10.2, 9.4, 15.4, 20.4, 10.4, 11.6, 11.6, 8.9, 2.6, 20.4, 10.4, 11.6, 11.6, 8.9, 2.6],
              areaStyle: {},
              color: '#90D2FC',
              markPoint: {
                  symbolSize: 30,
                  label: {
                      fontSize: 10
                  },
                  data: [{
                      type: 'max',
                      name: '最大值'
                  }]
              }
          }]
      }
      noise2.setOption(option2, true);
      window.addEventListener("resize", function () {
          noise2.resize();
      });
  }

  //15天AQI指数
  function noise3() {
      var aqi = echarts.init(document.getElementById('noise3'));
      var option3 = {
          grid: {
              left: 30,
              top: 30,
              right: 10,
              bottom: 60
          },
          legend: {
              data: [{
                  name: 'AQI',
                  textStyle: {
                      color: '#333'
                  }
              }],
              left: 10
          },
          tooltip: {
              show: true
          },
          dataZoom: {
              show: true,
              height: 10,
              bottom: 30,
              start: 0,
              end: 90 //初始化滚动条
          },
          xAxis: {
              type: 'category',
              boundaryGap: false,
              data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
              axisLabel: {
                  show: true,
                  textStyle: {
                      color: "#333"
                  }
              },
              axisTick: {
                  show: false
              }
          },
          yAxis: {
              type: 'value',
              axisLabel: {
                  show: true,
                  textStyle: {
                      color: "#333"
                  }
              },
              axisTick: {
                  show: false
              },
              splitLine: {
                  show: false
              }
          },
          series: [{
              name: 'AQI',
              type: 'line',
              symbol: "circle",
              data: [10, 8.9, 5.2, 5.6, 6.4, 8.9, 10.1, 2.3, 1.2, 5.2, 4.2, 5.1, 6.5, 4.2, 3.5],
              areaStyle: {},
              color: '#90D2FC',
              markPoint: {
                  symbolSize: 30,
                  label: {
                      fontSize: 10
                  },
                  data: [{
                      type: 'max',
                      name: '最大值'
                  }]
              }
          }]
      }
      aqi.setOption(option3, true);
      window.addEventListener("resize", function () {
          aqi.resize();
      });
  }